package com.zygh.policeasset.pojo;

import cn.afterturn.easypoi.util.PoiElUtil;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/DataLabels.class */
public class DataLabels {
    private Integer id;
    private String name;
    private Integer toEnable;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setToEnable(Integer toEnable) {
        this.toEnable = toEnable;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof DataLabels)) {
            return false;
        }
        DataLabels other = (DataLabels) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$name = getName();
        Object other$name = other.getName();
        if (this$name == null) {
            if (other$name != null) {
                return false;
            }
        } else if (!this$name.equals(other$name)) {
            return false;
        }
        Object this$toEnable = getToEnable();
        Object other$toEnable = other.getToEnable();
        return this$toEnable == null ? other$toEnable == null : this$toEnable.equals(other$toEnable);
    }

    protected boolean canEqual(Object other) {
        return other instanceof DataLabels;
    }

    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $name = getName();
        int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
        Object $toEnable = getToEnable();
        return (result2 * 59) + ($toEnable == null ? 43 : $toEnable.hashCode());
    }

    public String toString() {
        return "DataLabels(id=" + getId() + ", name=" + getName() + ", toEnable=" + getToEnable() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getName() {
        return this.name;
    }

    public Integer getToEnable() {
        return this.toEnable;
    }
}